package com.fnfn.sdk.api.entity;

import com.fnfn.sdk.api.common.AbstractBean;

import java.util.Date;
import java.util.List;

public class Permission extends AbstractBean {

    private static final long serialVersionUID = 1L;

    private Integer cPermissionId;

    private String cPermissionName;

    private String cPermissionType;

    private Date createTime;

    private Date updateTime;

    private String remark;

    private Short state;

    private Short checked;

    private List<PermissionDetail> subDetail;

    private String startDate;

    private String endDate;

    public List<PermissionDetail> getSubDetail() {
        return subDetail;
    }

    public void setSubDetail(List<PermissionDetail> subDetail) {
        this.subDetail = subDetail;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Integer getcPermissionId() {
        return cPermissionId;
    }

    public void setcPermissionId(Integer cPermissionId) {
        this.cPermissionId = cPermissionId;
    }

    public String getcPermissionName() {
        return cPermissionName;
    }

    public void setcPermissionName(String cPermissionName) {
        this.cPermissionName = cPermissionName == null ? null : cPermissionName.trim();
    }

    public String getcPermissionType() {
        return cPermissionType;
    }

    public void setcPermissionType(String cPermissionType) {
        this.cPermissionType = cPermissionType == null ? null : cPermissionType.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Short getChecked() {
        return checked;
    }

    public void setChecked(Short checked) {
        this.checked = checked;
    }

}
